package cn.rhzz.restore;

import java.util.Calendar;

public class DateUtil {

	private static final Calendar cal = Calendar.getInstance();

	public static String getCurMonth() {
		int month = cal.get(Calendar.MONTH) + 1;
		String monthStr = month < 10 ? "0" + month : month + "";
		return monthStr;
	}

	public static int getCurYear() {
		int year = cal.get(Calendar.YEAR);
		return year;
	}

}
